Acceptor and Connector Design Patterns for Initializing Communication Services

نویسنده

  • Douglas C. Schmidt
چکیده

This paper describes the Connector and Acceptor patterns. The intent of these patterns is to decouple the active and passive connection roles, respectively, from the tasks a communication service performs once connections are established. Common examples of communication services that utilize these patterns include WWW browsers, WWW servers, object request brokers, and “superservers” that provide services like remote login and file transfer to client applications. This paper illustrates how the Connector and Acceptor patterns can help decouple the connection-related processing from the service processing, thereby yielding more reusable, extensible, and efficient communication software. When used in conjunction with related patterns like the Reactor [1], Active Object [2], and Service Configurator [3], the Acceptor and Connector patterns enable the creation of highly extensible and efficient communication software frameworks [4] and applications [5]. This paper is organized as follows: Section 2 outlines background information on networking and communication protocols necessary to appreciate the patterns in this paper; Section 3 motivates the need for the Acceptor and Connector patterns and illustrates how they have been applied to a production application-level Gateway; Section 4 describes the Acceptor and Connector patterns in detail; and Section 5 presents concluding remarks.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Acceptor and Connector Design Patterns for Actively and Passively Initializing Network Services

This paper describes a pair of patterns that enhance the reuse, extensibility, and portability of object-oriented communication software by permittingnetwork services to evolve independently of the mechanisms used to establish connections used by the services. The Acceptor and Connector patterns decouple the passive and active establishment of a connection, respectively, from the service perfor...

متن کامل

Acceptor-Connector An Object Creational Pattern for Connecting and Initializing Communication Services

The Acceptor-Connector design pattern decouples connection establishment and service initialization in a distributed system from the processing performed once a service is initialized. This decoupling is achieved with three components: acceptors, connectors, and service handlers. A connector actively establishes a connection with a remote acceptor component and initializes a service handler to ...

متن کامل

Acceptor and Connector A Family of Object Creational Patterns for Initializing Communication Services

This paper describes the Connector and Acceptor patterns. The intent of these patterns is to decouple the active and passive initialization roles, respectively, from the tasks a communication service performs once initialization is complete. Common examples of communication services that utilize these patterns include WWW browsers, WWW servers, object request brokers, and “superservers” (which ...

متن کامل

Acceptor A Design Pattern for Passively Initializing Network Services

This article is part of a continuingseries that describes objectoriented techniques for developing reusable, extensible, and efficient communication software. The current topic examines the Acceptor pattern. This design pattern enables the tasks performed by network services to evolve independently of the strategies used to passively initialize the services. By decoupling service initialization...

متن کامل

Connector A Design Pattern for Actively Initializing Network Services

This article is part of a continuingseries that describes objectoriented techniques for developing reusable, extensible, and efficient communication software. The topic of this article is the Connector pattern. This design pattern enables the tasks performed by network services to evolve independently of the mechanisms that actively initialize the services. The Connector pattern is a companion ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1997